package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgPreSaleLogs;

public interface YgPreSaleLogsService {

	List<YgPreSaleLogs> find();

	int findCount();

	YgPreSaleLogs findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgPreSaleLogs ygPreSaleLogs);

	int update(YgPreSaleLogs ygPreSaleLogs);

	int saveOrUpdate(YgPreSaleLogs ygPreSaleLogs);

	ResultSet<YgPreSaleLogs> search(QueryInfo queryInfo, String q);

	int addPreSaleLogs(Long id, Date preSaleDate, String handler, Date updateTime, String remark);

}
